package cn.spike.rockcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author:spike
 * @create:2023-03-26 12:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisOrderDto {
    /** 订单类型 - 普通订单*/
    public static final Integer COMMON_ORDER = 0;
    /** 订单类型 - 秒杀订单*/
    public static final Integer KILL_ORDER = 1;

    private BigDecimal amount;
    private Long courseId;
    private String orderNo;
    private Long killCourseId;
    private Integer orderType;
    private Long userId;
}
